package com.cliff.joinus;

public class Constants {
	public static final String MULTICAST_LOCK = "joinus.multicastlock";
	
	public static final int GROUP_COMMON = 0;
	public static final int ITEM_SERVER = 0;
	public static final int ITEM_QUIT = 1;
	public static final int ITEM_INFO = 2;
	public static final int ITEM_BACK = 3;
	public static final int ITEM_REFRESH = 4;
	public static final int ITEM_PREFERENCE = 5;
	public static final int ITEM_SELECT_RENDERER = 6;
	public static final int ITEM_STOP_BACK = 7;
	
	public static final int[] AB_SERVER = new int[]{ITEM_SERVER, android.R.drawable.ic_menu_compass, R.string.menu_item_server};	
	public static final int[] AB_QUIT = new int[]{ITEM_QUIT, android.R.drawable.ic_menu_close_clear_cancel, R.string.menu_item_quit};	
	public static final int[] AB_INFO = new int[]{ITEM_INFO, android.R.drawable.ic_menu_info_details, R.string.menu_item_info};
	public static final int[] AB_BACK = new int[]{ITEM_BACK, android.R.drawable.ic_menu_revert, R.string.menu_item_back};
	public static final int[] AB_REFRESH = new int[]{ITEM_REFRESH, android.R.drawable.ic_menu_rotate, R.string.menu_item_refresh};	
	public static final int[] AB_PREFERENCE = new int[]{ITEM_PREFERENCE, android.R.drawable.ic_menu_preferences, R.string.menu_item_preference};
	public static final int[] AB_SELECT_RENDERER = new int[]{Constants.ITEM_SELECT_RENDERER, android.R.drawable.ic_menu_upload_you_tube, R.string.menu_item_select_renderer};
	public static final int[] AB_STOP_BACK = new int[]{ITEM_STOP_BACK, android.R.drawable.ic_menu_set_as, R.string.menu_item_stop_back};
	
	public static final String EXTRA_ITEMNODE_TYPE = "extraItemType";
	public static enum ITEMNODE_TYPE {LOCAL_IMAGE, LOCAL_AUDIO, LOCAL_VIDEO, EXTERNAL_ITEMNODE};
	public static final String EXTRA_ITEMNODE_POS = "extraItemPos";
	
}
